

/**
@author Daniel Sidlauskas Miller

*/
#include "twi_master_driver.h"

#define BAUDRATE 100000
#define TWI_BAUDSETTING TWI_BAUD(CPU_SPEED, BAUDRATE)
        
//#define 32000000 might use 32mhz when on internal crystal
#define CPU_SPEED 12000000

#define ESTOP_DEFAULT 1

void CCPWrite( volatile uint8_t * address, uint8_t value );
void clock_32mhz_init(void);
void clock_48mhz_init(void);
void twiInitiate(TWI_Master_t * title, TWI_t * interface);
void clock_12mhz_external_init(void);
void trigger_estop(uint8_t * estop_flag);
void uart_spi_init(void);


		
